Nexi\WC_Gateway_NPG_API D

Total Complexity 139
Dependencies 10
Dependents 10
Total lines 894
Lines of code 619
Logical lines of code 335
Comment lines 43
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
new_payment_link()
A
38 13 65
exec_rest_curl()
A
38 10 72
build_payment()
A
38 10 65
get_one_click_params()
A
48 11 32
get_account_operation_id()
A
55 10 18
recurring_payment()
A
45 7 39
get_customer_one_click_contracts()
A
53 8 20
google_pay_payment()
S
43 6 45
get_recurring_params()
S
52 6 24
get_order_status()
S
55 6 18
get_profile_info()
S
53 5 22
get_order_info()
S
54 5 19
refund()
S
51 4 25
account()
S
51 4 25
get_customer_contracts()
S
58 4 15
generate_npg_order_id()
S
59 4 14
enable_apms()
S
61 4 11
get_refund_operation_id()
S
62 4 11
build_payment_finalize()
S
57 3 16
build_state()
S
58 3 15
deactivate_contract()
S
59 3 13
__construct()
S
60 2 13
getInstance()
S
71 2 6
getUrlNpgBuildJS()
S
80 1 3
exec_get()
S
78 1 3
exec_post()
S
78 1 3
generate_uuid()
S
72 1 4
generate_contract_id()
S
77 1 3